import {createRouter,createWebHashHistory} from 'vue-router'

import indexView from '../views/indexView.vue';
import infoView from '../views/infoView.vue';
import classView from '../views/classView.vue';

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            name:'index',
            component: indexView
        },
        {
            path:'/info',
            name:'info',
            component: infoView
        },
        {
            path:'/class',
            name:'class',
            component: classView
        },
    ]
})

export default router;